\doxysection{Time类 参考}
\hypertarget{class_time}{}\label{class_time}\index{Time@{Time}}


{\ttfamily \#include $<$Time.\+h$>$}

\doxysubsubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_time_ad5c7fc0457ae7a368cfe0dd089970ad8}{Time}} (int year, int month, int day, int hour, int minute, int second)
\item 
int \mbox{\hyperlink{class_time_ade7face40dbabb5ee40b34e2584ca731}{get\+Year}} () const
\begin{DoxyCompactList}\small\item\em 返回年 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_time_a92ebae2cc25d4d448b934ab632577cb7}{get\+Month}} () const
\begin{DoxyCompactList}\small\item\em 返回月 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_time_a1a0aaa223057af66b55e0287a6219262}{get\+Day}} () const
\begin{DoxyCompactList}\small\item\em 返回日 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_time_aacb846812dccbf244d52e0f237ad0026}{get\+Hour}} () const
\begin{DoxyCompactList}\small\item\em 返回时 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_time_a809250b6139afebe7c41a1fe6c857172}{get\+Minute}} () const
\begin{DoxyCompactList}\small\item\em 返回分 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_time_a1d3681b3ccd635d0a285b3d628e03d60}{get\+Second}} () const
\begin{DoxyCompactList}\small\item\em 返回秒 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{class_time_ad2329c25520f4f561e7143cef5997279}{m\+Year}} \{0\}
\item 
int \mbox{\hyperlink{class_time_a13b7812113b018f25d761e8790237134}{m\+Month}} \{0\}
\item 
int \mbox{\hyperlink{class_time_a62567f3af7e6a62994c1865d5ba5fc27}{m\+Day}} \{0\}
\item 
int \mbox{\hyperlink{class_time_afcca4912dd774e773a9e50c02dd4496f}{m\+Hour}} \{0\}
\item 
int \mbox{\hyperlink{class_time_ab568af317099b3a68b068aa13d449d00}{m\+Minute}} \{0\}
\item 
int \mbox{\hyperlink{class_time_aff1414aeb2f65e4a53041f3c0376af6d}{m\+Second}} \{0\}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
\begin{DoxyAuthor}{作者}
liangxi 
\end{DoxyAuthor}
\begin{DoxySince}{自从}
2024/3/25 时间类实体 
\end{DoxySince}


\doxysubsection{构造及析构函数说明}
\Hypertarget{class_time_ad5c7fc0457ae7a368cfe0dd089970ad8}\index{Time@{Time}!Time@{Time}}
\index{Time@{Time}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{Time()}{Time()}}
{\footnotesize\ttfamily \label{class_time_ad5c7fc0457ae7a368cfe0dd089970ad8} 
Time\+::\+Time (\begin{DoxyParamCaption}\item[{int}]{year}{, }\item[{int}]{month}{, }\item[{int}]{day}{, }\item[{int}]{hour}{, }\item[{int}]{minute}{, }\item[{int}]{second}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



\doxysubsection{成员函数说明}
\Hypertarget{class_time_a1a0aaa223057af66b55e0287a6219262}\index{Time@{Time}!getDay@{getDay}}
\index{getDay@{getDay}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getDay()}{getDay()}}
{\footnotesize\ttfamily \label{class_time_a1a0aaa223057af66b55e0287a6219262} 
int Time\+::get\+Day (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回日 

\Hypertarget{class_time_aacb846812dccbf244d52e0f237ad0026}\index{Time@{Time}!getHour@{getHour}}
\index{getHour@{getHour}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getHour()}{getHour()}}
{\footnotesize\ttfamily \label{class_time_aacb846812dccbf244d52e0f237ad0026} 
int Time\+::get\+Hour (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回时 

\Hypertarget{class_time_a809250b6139afebe7c41a1fe6c857172}\index{Time@{Time}!getMinute@{getMinute}}
\index{getMinute@{getMinute}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getMinute()}{getMinute()}}
{\footnotesize\ttfamily \label{class_time_a809250b6139afebe7c41a1fe6c857172} 
int Time\+::get\+Minute (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回分 

\Hypertarget{class_time_a92ebae2cc25d4d448b934ab632577cb7}\index{Time@{Time}!getMonth@{getMonth}}
\index{getMonth@{getMonth}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getMonth()}{getMonth()}}
{\footnotesize\ttfamily \label{class_time_a92ebae2cc25d4d448b934ab632577cb7} 
int Time\+::get\+Month (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回月 

\Hypertarget{class_time_a1d3681b3ccd635d0a285b3d628e03d60}\index{Time@{Time}!getSecond@{getSecond}}
\index{getSecond@{getSecond}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getSecond()}{getSecond()}}
{\footnotesize\ttfamily \label{class_time_a1d3681b3ccd635d0a285b3d628e03d60} 
int Time\+::get\+Second (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回秒 

\Hypertarget{class_time_ade7face40dbabb5ee40b34e2584ca731}\index{Time@{Time}!getYear@{getYear}}
\index{getYear@{getYear}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{getYear()}{getYear()}}
{\footnotesize\ttfamily \label{class_time_ade7face40dbabb5ee40b34e2584ca731} 
int Time\+::get\+Year (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回年 



\doxysubsection{类成员变量说明}
\Hypertarget{class_time_a62567f3af7e6a62994c1865d5ba5fc27}\index{Time@{Time}!mDay@{mDay}}
\index{mDay@{mDay}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mDay}{mDay}}
{\footnotesize\ttfamily \label{class_time_a62567f3af7e6a62994c1865d5ba5fc27} 
int Time\+::m\+Day \{0\}\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_time_afcca4912dd774e773a9e50c02dd4496f}\index{Time@{Time}!mHour@{mHour}}
\index{mHour@{mHour}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mHour}{mHour}}
{\footnotesize\ttfamily \label{class_time_afcca4912dd774e773a9e50c02dd4496f} 
int Time\+::m\+Hour \{0\}\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_time_ab568af317099b3a68b068aa13d449d00}\index{Time@{Time}!mMinute@{mMinute}}
\index{mMinute@{mMinute}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mMinute}{mMinute}}
{\footnotesize\ttfamily \label{class_time_ab568af317099b3a68b068aa13d449d00} 
int Time\+::m\+Minute \{0\}\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_time_a13b7812113b018f25d761e8790237134}\index{Time@{Time}!mMonth@{mMonth}}
\index{mMonth@{mMonth}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mMonth}{mMonth}}
{\footnotesize\ttfamily \label{class_time_a13b7812113b018f25d761e8790237134} 
int Time\+::m\+Month \{0\}\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_time_aff1414aeb2f65e4a53041f3c0376af6d}\index{Time@{Time}!mSecond@{mSecond}}
\index{mSecond@{mSecond}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mSecond}{mSecond}}
{\footnotesize\ttfamily \label{class_time_aff1414aeb2f65e4a53041f3c0376af6d} 
int Time\+::m\+Second \{0\}\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_time_ad2329c25520f4f561e7143cef5997279}\index{Time@{Time}!mYear@{mYear}}
\index{mYear@{mYear}!Time@{Time}}
\doxysubsubsection{\texorpdfstring{mYear}{mYear}}
{\footnotesize\ttfamily \label{class_time_ad2329c25520f4f561e7143cef5997279} 
int Time\+::m\+Year \{0\}\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Log/\+Header/\+Component/\mbox{\hyperlink{_time_8h}{Time.\+h}}\end{DoxyCompactItemize}
